import httpRequest from '~/config/requet'
// 全部岗位
export const loginApi = () => {
  return httpRequest.get("/admin-api/biz/courses/page");
};

// 获取租户信息
export const GetTenantInfo = () => {
  return httpRequest.get("/admin-api/system/tenant/user/get-id-by-name");
};

// 退出登录
export const LogOut = (params) => {
  return httpRequest.postClient('/admin-api/system/auth/logout', params);
}
